package liangtWorkSpace.proxy.subject.dog;

/**
 * @ClassName ProxyStudent
 * @Description : 功能说明
 * @Author : LiangT
 * @Date : 2020/4/8 21:19
 */
public class ProxyStudent {
    private Person person;

    public ProxyStudent(Person person) {
        this.person = person;
    }

    public void giveHack(){
        System.out.println("我要开始收作业了！");
        this.person.giveHask();
    }

    public void SAY(IStar person){
        person.sing();
    }
}
